package khleuven.mondzorg.domain;

public class Module {
	
	private String name;

	public Module(String name) {
		setName(name);
	}

	public String getName() {
		return name;
	}

	private void setName(String name) {
		this.name = name;
	}
	
	@Override
	public boolean equals(Object object){
		boolean gelijk = false;
		if(object instanceof Module){
			Module m = (Module)(object);
			if(m.getName().equals(getName())){
				gelijk = true;
			}
		}
		return gelijk;
	}

}
